#include <stdio.h>     /* for printf */
#include <stdlib.h>    /* for exit */
#include <getopt.h>

#include <string>
#include <vector>
#include <string.h>

// to test, run:
// ./test -i fad --help  -n 1238 adf adfiapsd
// to generate code snippet, run:
// ./argParser cpp template.cpp > cpp_args_include
int main(int argc, char **argv)
{

#include "cpp_args_include"

    if (showHelp) 
        printf ("showHelp = true \n");
    else
        printf ("showHelp = false \n");
    printf ("number = %d \n" , number);
    printf ("fileNmae = %s \n", fileName.c_str());
    printf ("remainArgs = ");
    for (int i = 0; i < remainArgs.size(); i++)
        printf( "%s, ", remainArgs[i].c_str());
    printf ("\n");

    exit(EXIT_SUCCESS);
}
